{if count($aRows)}
<table style="background:#73C350; color:#fff; width:100%;">
{foreach from=$aRows item=aRow key=iKey}
<tr id="request{$aRow.requestid}">
<td style="color:#fff; font-size:9pt;{if $iKey != 0} border-top:1px #fff dashed;{/if}">
	<span style="cursor:pointer;" style="cursor:pointer;" onmouseover="showInfo5('{language text='Mod_Chat.click_to_chat' replace=$aRow.user}', '', '');" onmouseout="return nd();" onclick="document.getElementById('request{$aRow.requestid}').style.display='none'; xajax_acceptRequest('{$aRow.requestid}', '{$aRow.id}'); popUp2('{url link='public.account.messenger.chat' requestid=$aRow.requestid userid=$aRow.id type='accept'}','{$iImChatHeight}','{$iImChatWidth}','yes','200','100');">{language text='Mod_Messenger.chat_request_from' replace=$aRow.user}</span>
</td>
<td style="text-align:right;{if $iKey != 0} border-top:1px #fff dashed;{/if}">
	<a href="javascript:void(0);" style="cursor:pointer;" onmouseover="showInfo5('{language text='Mod_Chat.deny_chat_request' replace=$aRow.user}', '', '');" onmouseout="return nd();" onclick="document.getElementById('request{$aRow.requestid}').style.display='none'; xajax_deleteRequest('{$aRow.requestid}');"><img src="design/pic/delete.gif" alt="" /></a>
</td>
</tr>
{/foreach}
</table>
{/if}